<template>

   <div class="order">
    <!-- 订单列表 -->
    <div class="order-list">
      <div class="order-box">
        <div class="time-status">
          <div class="bottom-line">
            <p class="float-left col999">{{item.addtime}}</p>
            <p class="float-right" style="color:#ef6500;">{{item.status | orderStatus}}&nbsp;<span v-show="item.status==4 || item.status == 3">（{{item.evaluateStatus | commentStatus}}）</span></p>

          </div>
        </div>

        <div class="order-content clearfix">
          <div class="left-pic">
              <img :src="item.storeLogoUrl" class="store-logo" v-if="item.storeLogoUrl">
              <img src='../images/default_logo.png' class="store-logo" v-if="!item.storeLogoUrl">
          </div>
          <div class="order-item">
            <div class="storename2">{{item.storeName}}</div>
            <div style="margin-top:16px;font-size: 13px;">
              <p class="total-num">{{item.peopleNumber}}人共点了{{item.totalWeight}}份</p>
              <p class="total-price">
                <span class="col999">共计</span> <b class="col333">¥ {{item.totelprice}}</b>
              </p>
            </div>
          </div>
        </div>
      </div>

    </div>

  </div>

</template>

<script type="text/ecmascript-6">
  import '../filter/status.js'
    export default {
        props: {
            item: Object
        }
    }
</script>

<style lang="less" scoped>

  .order{
    background: #f1f1f1;

    .order-list {
      margin-top: 15px;

    }

    .order-box {
      margin-bottom: 10px;
      background: white;
    }

    .time-status {
      height: 30px;
      line-height: 30px;
      padding: 0 10px;
    }

    .bottom-line {
      height: 100%;
      border-bottom: 1px solid #dedede;
    }

    .time-status p {
      font-size: 12px;
    }
    
   .order-content {
    padding: 12px 10px;
  }
   .left-pic {
    float: left;
    width:70px;
    height: 70px;
    overflow: hidden;
  }
  .store-logo {
    width: 70px;
    height: 70px;
  }
   .order-item {
    overflow: hidden;
    zoom: 1;
    margin-left: 85px;
  }
   .storename2 {
    font-size: 16px;
    padding-top: 10px;
    font-weight: bold;
  }
   .total-num {
    font-size: 13px;
    color: #999;
    float: left;
  }
   .total-price {
    float: right;
    font-size: 13px;
  }
}
	
</style>
